package com.app.repository.interfaces;

import com.app.model.main.LoginRecord;

import java.util.List;

public interface LoginRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LoginRecord record);

    int insertSelective(LoginRecord record);

    LoginRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LoginRecord record);

    int updateByPrimaryKey(LoginRecord record);

    List<LoginRecord> getIdListBetween(String time1, String time2);

    List<LoginRecord> getListByUserIdBetween(long userId, String time1, String time2);

    List<LoginRecord> getListByUserId(long userId);
}